<?php
/**
* @version $Id: toolbar.xfaq.php,v 1.0 2005/10/02 13:15:15 mic Exp $
* @package XfaQ - a frequently asked question component for Joomla! & Mambo CMS
* @copyright (C) 2005 mgfi.info
* @info info@mgfi.info http://www.mgfi.info
* @license GNU/GPL
* based in simplefaq 2.0.1 & glossary 1.4
*/

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

require_once( $mainframe->getPath( 'toolbar_html' ) );
//require_once( $mainframe->getPath( 'toolbar_default' ) );

switch ($task) {
	case 'new':
    	menuxfaq::NEW_MENU();
    	break;

	case 'edit':
    	menuxfaq::EDIT_MENU();
    	break;

	case 'config':
    	menuxfaq::CONFIG_MENU();
    	break;

  	default:
    	//MENU_Default::MENU_Default();
    	menuxfaq::DEFAULT_MENU();
    	break;
}
?>